package org.ttitfly.zuoyue.entity.complaint;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.ttitfly.ttcore.entity.IdEntity;


/**
 * 大客户投诉
 * 
 * 使用JPA annotation定义ORM关系. 使用Hibernate annotation定义JPA 1.0未覆盖的部分.
 * 
 * @author mhb
 */
@Entity
// 表名与类名不相同时重新定义表名.
@Table(name = "big_client")
// 默认的缓存策略.
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class BigClient extends IdEntity{
	
	private static final long serialVersionUID = 1L;
	
	//投诉编号
	@Column(name = "com_big_id")
	private String comBigId;
	
	//工单流水号
	@Column(name = "com_big_seq")
	private String comBigSeq;
	
	//地址
	@Column(name = "com_big_address")
	private Integer comBigAddress;
	
	//主要情况
	@Column(name = "com_big_info")
	private String comBigInfo;
	
	//公司联系人
	@Column(name = "com_big_linkman")
	private String comBigLinkMan;
	
	//公司联系电话
	@Column(name = "com_big_linktel")
	private String comBigLinkTel;
	
	//客户联系人
	@Column(name = "com_big_client_linkman")
	private String comBigClientLinkMan;
	
	//客户联系电话
	@Column(name = "com_big_client_linktel")
	private String comBigClientLinkTel;
	
	//经度
	@Column(name = "com_big_long")
	private Double comBigLon;
	
	//维度
	@Column(name = "com_big_lat")
	private Double comBigLat;
	
	
	public String getComBigId() {
		return comBigId;
	}


	public void setComBigId(String comBigId) {
		this.comBigId = comBigId;
	}


	public String getComBigSeq() {
		return comBigSeq;
	}


	public void setComBigSeq(String comBigSeq) {
		this.comBigSeq = comBigSeq;
	}


	public Integer getComBigAddress() {
		return comBigAddress;
	}


	public void setComBigAddress(Integer comBigAddress) {
		this.comBigAddress = comBigAddress;
	}


	public String getComBigInfo() {
		return comBigInfo;
	}


	public void setComBigInfo(String comBigInfo) {
		this.comBigInfo = comBigInfo;
	}


	public String getComBigLinkMan() {
		return comBigLinkMan;
	}


	public void setComBigLinkMan(String comBigLinkMan) {
		this.comBigLinkMan = comBigLinkMan;
	}


	public String getComBigLinkTel() {
		return comBigLinkTel;
	}


	public void setComBigLinkTel(String comBigLinkTel) {
		this.comBigLinkTel = comBigLinkTel;
	}


	public String getComBigClientLinkMan() {
		return comBigClientLinkMan;
	}


	public void setComBigClientLinkMan(String comBigClientLinkMan) {
		this.comBigClientLinkMan = comBigClientLinkMan;
	}


	public String getComBigClientLinkTel() {
		return comBigClientLinkTel;
	}


	public void setComBigClientLinkTel(String comBigClientLinkTel) {
		this.comBigClientLinkTel = comBigClientLinkTel;
	}


	public Double getComBigLon() {
		return comBigLon;
	}


	public void setComBigLon(Double comBigLon) {
		this.comBigLon = comBigLon;
	}


	public Double getComBigLat() {
		return comBigLat;
	}


	public void setComBigLat(Double comBigLat) {
		this.comBigLat = comBigLat;
	}


	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}